package cn.iocoder.yudao.module.member.user.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.Set;

@Schema(description = "用户 APP - 修改部门及岗位 Request VO")// FIXME 新增
@Data
public class AppMemberUserDeptAndPostUpdateReqVO {

    @Schema(description = "部门编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "部门编号不能为空")
    private Long deptId;

    @Schema(description = "岗位编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "岗位编号不能为空")
    private Set<Long> postIds;


}
